//
//  TravelDitailedImage.swift
//  GoTravel
//
//  Created by lanou3g on 16/3/11.
//  Copyright © 2016年 SHH. All rights reserved.
//

import UIKit

class TravelDetailedImage: UIViewController {

    var detaileImage:UIImageView?
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.addView()

        
    }

    
    
    func addView(){
        self.detaileImage = UIImageView()
        self.detaileImage?.frame = CGRectMake(0, 0, self.view.frame.width, self
        .view.frame.height)
        self.detaileImage?.image = UIImage(named: "testImg")
        self.view.addSubview(self.detaileImage!)
        
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
